package com.emailsystem.emailsystem.controller;

public class Code {
    // 登录成功
    public static final Integer LOGIN_OK=10011;
    // 注册成功
    public static final Integer REGISTER_OK=10021;
    // 查询历史记录成功
    public static final Integer SENT_OK=10041;
    // 查询收到记录成功
    public static final Integer RECEIVE_OK=10051;
    // 查询收藏成功
    public static final Integer FAVOURITE_OK=10061;
    // 查询收藏成功
    public static final Integer DRAFT_OK=10071;
    // 查询垃圾邮件成功
    public static final Integer RUBBISH_OK=10081;
    // 查询全部邮件成功
    public static final Integer HISTORY_OK=10091;



    // 登录失败
    public static final Integer LOGIN_ERR=10010;
    // 注册失败
    public static final Integer REGISTER_ERR=10020;
    // 账户格式不合适
    public static final Integer ACCOUNT_FORMAT_ERR=10030;
    // 查询历史记录失败
    public static final Integer CHECK_SENT_ERR=10040;
    // 查询收到记录失败
    public static final Integer CHECK_RECEIVE_ERR=10050;
    // 查询收藏失败
    public static final Integer CHECK_FAVOURITE_ERR=10060;
    // 查询草稿失败
    public static final Integer CHECK_DRAFT_ERR=10070;
    // 查询垃圾邮件失败
    public static final Integer CHECK_RUBBISH_ERR=10080;
    // 查询全部邮件成功
    public static final Integer CHECK_HISTORY_ERR=10090;
}
